<?php

jimport( 'joomla.application.component.view');

class picasa2galleryViewalbum extends JView
{
	function display($tpl = null)
	{
		global $mainframe;

		$params = &$mainframe->getParams();
		$this->assignRef( 'params', $params );
		
		$album = $this->get('Album');
		$this->assignref('albumTitle', $album['albumTitle']);
		$this->assignref('numPhotos', $album['numPhotos']);
		$this->assignref('photosList', $album['photosList']);

		$isSingle = $this->get('SingleAlbumView');
		$this->assignref('isSingle', $isSingle);

		parent::display($tpl);
	}
}

?>
